//
//  TableViewCell.m
//  systemFonts
//
//  Created by Liyn on 2016/12/25.
//  Copyright © 2016年 Liyn. All rights reserved.
//

#import "TableViewCell.h"

@interface TableViewCell()
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *hanzi;
@property (weak, nonatomic) IBOutlet UILabel *abc;
@property (weak, nonatomic) IBOutlet UILabel *number;
@end
@implementation TableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setFontName:(NSString *)fontName{
    self.title.text = fontName;
    self.title.font = [UIFont fontWithName:fontName size:25];
    self.hanzi.text = @"获取全部系统字体";
    self.hanzi.font = [UIFont fontWithName:fontName size:25];
    self.abc.text = @"abcdefg hijklmn opq rst uvw xyz";
    self.abc.font = [UIFont fontWithName:fontName size:25];
    self.number.text = @"0123456789";
    self.number.font = [UIFont fontWithName:fontName size:25];
    //self.title.font = [UIFont fontWithName:fontName size:25];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
